package com.faselbaum.stalkme.models;

// Detailed information of a Bluetooth Device
public class BluetoothDeviceInfo
{
	private String _macAddress = null;
	private String _name = null;
	private short _rssi = Short.MIN_VALUE;
	private double _relativeRSSI = Double.MIN_VALUE;
	private int _itl = 0;
	
	public BluetoothDeviceInfo(){}
	public BluetoothDeviceInfo(String macAddress, String name, short rssi, int itl)
	{
		_macAddress = macAddress;
		_name = name;
		_rssi = rssi;
		_itl = itl;
	}
	
	public String toString()
	{
		return _macAddress + "\n" + _name + "\n" + _rssi;
	}
	
	public String getMACAddress()
	{
		return _macAddress;
	}
	
	public String getName()
	{
		return _name;
	}
	
	public short getRSSI()
	{
		return _rssi;
	}
	
	public double getRelativeRSSI()
	{
		return _relativeRSSI;
	}
	
	public int getITL()
	{
		return _itl;
	}
	
	public void setMACAddress(String macAddress)
	{
		_macAddress = macAddress;
	}
	
	public void setName(String name)
	{
		_name = name;
	}
	
	public void setRSSI(short rssi)
	{
		_rssi = rssi;
	}
	
	public void setRelativeRSSI(double relativeRSSI)
	{
		_relativeRSSI = relativeRSSI;
	}
	
	public void setITL(int itl)
	{
		_itl = itl;
	}
	
}
